<?php


namespace Trawind\Rocketmq\Manage;


use AlibabaCloud\SDK\Ons\V20190214\Models\ListTagResourcesRequest;
use AlibabaCloud\SDK\Ons\V20190214\Models\TagResourcesRequest;
use AlibabaCloud\SDK\Ons\V20190214\Models\UntagResourcesRequest;

/**
 * @wiki https://next.api.aliyun.com/api/Ons/2019-02-14/TagResources?params={}
 * Class TagManage
 * @package Trawind\Rocketmq\Manage
 */
class TagManage extends Manage
{


    /**
     * @param  array  $data
     * @return \AlibabaCloud\SDK\Ons\V20190214\Models\TagResourcesResponse
     */
    public function tagResources(array $data)
    {
        return $this->getOnsClient()->tagResources(new TagResourcesRequest($data));
    }


    /**
     * @param  array  $data
     * @return \AlibabaCloud\SDK\Ons\V20190214\Models\ListTagResourcesResponse
     */
    public function listTagResources(array $data)
    {
        return $this->getOnsClient()->listTagResources(new ListTagResourcesRequest($data));
    }


    /**
     * @param  array  $data
     * @return \AlibabaCloud\SDK\Ons\V20190214\Models\UntagResourcesResponse
     */
    public function untagResources(array $data)
    {
        return $this->getOnsClient()->untagResources(new UntagResourcesRequest($data));
    }


}